Channel encoding apparatus and method

ABSTRACT

A channel encoding apparatus and method are provided in which part of the parity bits are set to erroneous bits, and full parity bits are created by correcting the erroneous bits using a channel decoding apparatus of a receiver in a communication system. In the channel encoding apparatus, in order to generate a coded bit stream by adding a parity bit stream to a message bit stream, a partial parity generator generates a partial parity bit stream as a part of the parity bit stream using the message bit stream, an erasure generator generates a bit stream having an erroneous value as the remaining part of the parity bit stream, and a decoder calculates the value of the parity bit stream by correcting the bit stream having the erroneous value using a parity-check matrix that determines the parity bit stream, the message bit stream, and the partial parity bit stream.

PRIORITIES

This application claims priority under 35 U.S.C. § 119 to an applicationentitled “Channel Encoding Apparatus and Method” filed in the U.S.Patent and Trademark Office on Mar. 24, 2004 and assigned Ser. No.60/555,889, and filed in the Korean Intellectual Property Office on Jan.13, 2005 and assigned No. 2005-3461, the contents of both of which areincorporated herein by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates generally to a channel encoding apparatusand method, and in particular, to a channel encoding apparatus andmethod in which parity bits are partially set to artificial erroneousbits, and full parity bits are created by correcting the erroneous bitsusing a channel decoding apparatus provided at a receiver of acommunication system.

2. Description of the Related Art

Typically, a channel encoder forms codewords by adding parity bits tomessage bits to be transmitted, and a channel decoder extracts themessage bits from the received codewords by carrying out the reverse ofthe channel encoding.

FIG. 1 illustrates data structures in typical channel encoding anddecoding.

Referring to FIG. 1, the channel encoder creates an n-bit codeword byadding an m-bit parity bit stream to a k-bit message, prior totransmission.

Information loss or errors takes place during data transmission or datastorage due to noise, distortion and interference in various forms in acommunication system or a data storing system. Error correction is arequisite against such errors.

The channel decoder, therefore, receives errors on a channel as well asthe n-bit codeword and recovers the k-bit message by correcting for theerrors.

As illustrated in FIG. 2, the typical channel encoder is comprised of aninput buffer 21 for receiving message bits to be transmitted, a paritycalculator 22 for calculating parity bits based on the message bits, apre-processor 24 for calculating a generator matrix having codewordgeneration information by a matrix operation, specifically using therelationship of GH^(T)=0 (G is the generator matrix and H is a paritycheck matrix), a memory 23 for storing the matrix information, and anoutput buffer 25 for outputting codewords. More specifically, the paritycalculator 22 calculates the parity bits using the message bits receivedfrom the input buffer 21 referring to the matrix information stored inthe memory 23. The output buffer 25 outputs the message bits receivedfrom the input buffer 21 and the parity bits received from the paritycalculator 22.

In the above-described general channel encoding, it is known that thecomputation complexity of the pre-processor 24 is 0(n³) where n is acodeword length, and the actual computation complexity of the paritycalculator 22 is 0(n²).

As a channel code, an LDPC (Low-Density Parity-Check) code exhibitsperformance close to the Shannon Limit representing the theoreticallimit of channel coding performance. Yet, its codeword length is solarge that an LDPC encoder is a highly complex device, and the LDPC coderequires a large memory capacity. Especially it is known that hardwarecomplexity is larger in the LDPC encoder than in the LDPC decoder.

To overcome the complexity, a conventional LDPC encoding method, asdescribed in “Efficient Encoding of Low-Density Parity-Check Codes”,Thomas J. Richardson and Rudiger L. Urbanke, IEEE Transaction onInformation Theory February 2001, decomposes a parity-check matrix intopartition matrices and parity bits are separately calculated in twoparts, as illustrated in FIG. 3. In this example, let a codeword lengthand a parity length be denoted by n and m, respectively. A messagelength is then (n−m). If a first parity length is g, a second paritylength is (m−g).

FIG. 4 is a block diagram of an encoder configured to perform theconventional LDPC encoding method. Referring to FIG. 4, a pre-processor45 decomposes a parity-check matrix into partition matrices asillustrated in FIG. 3. A first parity calculator 42 calculates firstparity bits using the partition matrices and a second parity calculator43 calculates second parity bits using the first parity bits. Inputbuffer 41 and output buffer 46 are also shown,

This method also further requires a memory 44 for storing the partitionmatrices in addition to an existing memory for encoding. For a codewordlength of n, the pre-processing computation volume reaches 0(n^(3/2)).Hence, as the codeword length is increased, the complexity alsoincreases. A complexity of 0(n+g²) is required to calculate the firstparity bits, and a complexity of 9(n) to calculate the second paritybits. Moreover, the inverse matrix of a certain matrix must exist toachieve the partition matrices.

SUMMARY OF THE INVENTION

An object of the present invention is to substantially solve at leastthe above problems and/or disadvantages and to provide at least theadvantages below. Accordingly, an object of the present invention is toprovide a method and apparatus for performing channel encoding byutilizing a channel decoding having an error correction function.

Another object of the present invention is to provide a channel encodingapparatus and method for generating an erasure bit stream having anerroneous value as a part of a parity bit stream and correcting theerasure bit stream using a channel decoding apparatus, therebycalculating a full parity bit stream.

The above and other objects are achieved by providing a channel encodingapparatus and method in which parity bits are partially set toartificially erroneous bits and full parity bits are created bycorrecting the erroneous bits using a channel decoding apparatusprovided at a receiver of a communication system.

According to one aspect of the present invention, in a channel encodingapparatus for generating a coded bit stream of a predetermined length byadding a parity bit stream to a message bit stream to be transmitted, achannel decoding apparatus in a communication system which receives thecoded bit stream recovers the message bit stream from the coded bitstream through error correction.

According to another aspect of the present invention, in a channelencoding apparatus for generating a coded bit stream of a predeterminedlength by adding a parity bit stream to a message bit stream to betransmitted, a partial parity generator generates a partial parity bitstream having a predetermined length and a predetermined value as a partof the parity bit stream, based on the message bit stream, an erasuregenerator generates a bit stream having a random erroneous value as theremaining part of the parity bit stream except the partial parity bitstream, and a decoder calculates the value of the parity bit stream bycorrecting the bit stream having the erroneous value using aparity-check matrix used for determining the parity bit stream, themessage bit stream, and the partial parity bit stream, and outputs themessage bit stream and the parity bit stream.

According to a further aspect of the present invention, in a channelencoding method for generating a coded bit stream of a predeterminedlength by adding a parity bit stream to a message bit stream to betransmitted, the message bit stream is recovered from the coded bitstream through error correction using a channel decoding method in acommunication system that receives the coded bit stream.

According to still another aspect of the present invention, in a channelencoding method for generating a coded bit stream of a predeterminedlength by adding a parity bit stream to a message bit stream to betransmitted, a partial parity bit stream having a predetermined lengthand a predetermined value is generated as a part of the parity bitstream, based on the message bit stream, a bit stream having a randomerroneous value is generated as the remaining part of the parity bitstream except the partial parity bit stream, the value of the parity bitstream is calculated by correcting the bit stream having the erroneousvalue using a parity-check matrix used for determining the parity bitstream, the message bit stream, and the partial parity bit stream, andthe message bit stream and the parity bit stream are output.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other objects, features and advantages of the presentinvention will become more apparent from the following detaileddescription when taken in conjunction with the accompanying drawings inwhich:

FIG. 1 illustrates data structures in typical channel encoding anddecoding;

FIG. 2 is a block diagram of a typical channel encoder;

FIG. 3 illustrates pre-processing for a conventional encoding utilizingtriangular factorization;

FIG. 4 is a block diagram of a conventional encoder utilizing thetriangular factorization;

FIG. 5 is a block diagram of a channel encoder according to the presentinvention;

FIG. 6 is a flowchart illustrating a channel encoding method accordingto the present invention; and

FIG. 7 illustrates a channel coded data structure according to anembodiment of the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

A preferred embodiment of the present invention will be described hereinbelow with reference to the accompanying drawings. In the followingdescription, well-known functions or constructions are not described indetail since they would obscure the invention in unnecessary detail.

FIG. 5 is a block diagram of a channel encoding apparatus according tothe present invention and FIG. 6 is a flowchart illustrating a channelencoding method according to the present invention.

Referring to FIGS. 5 and 6, the channel encoding apparatus of thepresent invention includes a first input portion 51, a partial paritygenerator 52, an erasure generator 53, a second input portion 54, achannel decoder 55, and an output portion 56.

The first input portion 51 receives a message bit stream in step S61.The partial parity generator 52 generates a partial parity bit stream asa part of a full parity bit stream. Given a plurality of partial paritybit stream values, the partial parity generator 52 sequentially outputsa plurality of partial parity bit streams. The number of bits of thepartial parity bit stream is variable with that of the message bitstream.

The erasure generator 53 generates an erasure bit stream to be filled inthe remaining area of the full parity bit stream except that areaoccupied by the partial parity bit stream. In accordance with thepresent invention, the erasure bit stream does not form the full paritystream together with the partial parity bit stream. Instead, it is madeup of artificial erroneous bits to be inserted into the parity bitstream for the purpose of reducing the computation volume of calculatinga thoroughly correct parity bit stream and its entailing systemimplementation complexity. For example, the erasure bit stream can beset to a mean value that becomes A/2 in a unipolar signaling systemusing (0, A0 and becomes 0 in a bipolar signaling system using (+A, −A)in step S62.

FIG. 7 illustrates a channel coded data structure according to anembodiment of the present invention. Referring to FIG. 7, the channelcoded data is an n-bit codeword made up of a k-bit message bit stream 71and an m-bit parity bit stream divided into a p-bit partial parity bitstream 72 and an e-bit erasure bit stream 73. The partial paritygenerator 52 generates the p-bit partial parity bit stream and theerasure generator 53 generates the e-bit erasure bit stream.

The second input portion 54 provides a channel decoder 55 with themessage bit stream received from the first input portion 51, the partialparity bit stream received from the partial parity generator 52, and theerasure bit stream received from the erasure generator 53.

The channel decoder 55 corrects for the erroneous value of the erasurebit stream by its error correction function. In the case where thepartial parity generator 52 sequentially outputs a plurality of partialparity bits streams for the same message bit stream, the channel decoder55 corrects the erasure bit stream with respect to the partial paritybit streams output from the second input portion 54. In the course ofthe erasure bit correction, one of the partial parity bit streams isdetermined as a correct partial parity bit stream in step S63. Once thecorrect partial parity bit stream is determined, the channel decoder 55may control the partial parity generator 52 to discontinue outputtingthe following partial parity bit streams which have not been input tothe channel decoder 55.

The channel decoder 55 is identical to a channel decoding apparatus at areceiver in a communication system having the channel encodingapparatus. Therefore, the channel decoder 55 can be configured to be anerasure decoder or an LDPC decoder using a Min-Sum algorithm. Thechannel encoding apparatus of the present invention is characterized inthat a correct parity bit stream is calculated by correcting for theerroneous value of an erasure bit stream using a channel decoder toprovide for error correction at the receiver. Preferably, the number ofbits of the erasure bit stream is determined within a range affordablefor the error correction capability of the channel decoder 55, takinginto account the number of the bits of the partial parity bit stream.

After the correction of the erasure bit stream, the channel decoder 55outputs the message bit stream and a full parity bit stream made up ofthe partial parity bit stream and the corrected erasure bit streamthrough the output portion 56 in step S64. Given a plurality of partialparity bit streams, the channel decoder 55 outputs the correct partialparity bit stream selected during the erasure bit correction to theoutput portion 56.

A description will now be made of an operation in the channel decoder 55for, given a plurality of partial parity bit streams from the partialparity generator 52, correcting an erasure bit stream and selecting acorrect partial parity bit stream among the plurality of partial paritybit streams according to an embodiment of the present invention.

Let a message bit stream be denoted by s1, s2, s3, s4, s5, a partialparity bit stream be denoted by p1, p2, and an erasure bit stream bedenoted by e1, e2, e3. A parity-check matrix H is given as Equation (1).Four cases of 00, 01, 10, 11 are available as p1p2 out of the two bitsp1 and p2 of the partial parity bit stream and the partial paritygenerator 52 sequentially outputs these four cases. Erasure bit streame1, e2 and e3 that is calculated with one of the four cases thatsatisfies all of Equation (2) to Equation (6) are determined as theerasure bit stream, and p1 and p2 are determined as the partial paritybit stream. $\begin{matrix}{H = \begin{bmatrix}{h10} & {h11} & {h12} & {h13} & {h14} & {h15} & {h16} & {h17} & {h18} & {h19} \\{h20} & {h21} & {h22} & {h23} & {h24} & {h25} & {h26} & {h27} & {h28} & {h29} \\{h30} & {h31} & {h32} & {h33} & {h34} & {h35} & {h36} & {h37} & {h38} & {h39} \\{h40} & {h41} & {h42} & {h43} & {h44} & {h45} & {h46} & {h47} & {h48} & {h49} \\{h50} & {h51} & {h52} & {h53} & {h54} & {h55} & {h56} & {h57} & {h58} & {h59}\end{bmatrix}} & (1) \\{{{h10s1} + {h11s2} + {h12s3} + {h13s4} + {h14s5} + {h15e1} + {h16e2} + {h17e3} + {h18p1} + {h19p2}} = 0} & (2) \\{{{h20s1} + {h21s2} + {h22s3} + {h23s4} + {h24s5} + {h25e1} + {h26e2} + {h27e3} + {h28p1} + {h29p2}} = 0} & (3) \\{{{h30s1} + {h31s2} + {h32s3} + {h33s4} + {h34s5} + {h35e1} + {h36e2} + {h37e3} + {h38p1} + {h39p2}} = 0} & (4) \\{{{h40s1} + {h41s2} + {h42s3} + {h43s4} + {h44s5} + {h45e1} + {h46e2} + {h47e3} + {h48p1} + {h49p2}} = 0} & (5) \\{{{h50s1} + {h51s2} + {h52s3} + {h53s4} + {h54s5} + {h55e1} + {h56e2} + {h57e3} + {h58p1} + {h59p2}} = 0} & (6)\end{matrix}$

The calculations of Equation (2) through Equation (6) only consider thelast bit values of bit streams involved in the calculations.

If the parity-check matrix defined as Equation (1) is given as Equation(7), the message bit stream is 10110, and the partial parity bit streamsare 00, 01, 10 and 11, the bit values of the erasure bit stream areproduced by Equation (2) to Equation (6), as illustrated in Table 1.$\begin{matrix}{H = \begin{bmatrix}1 & 1 & 1 & 1 & 1 & 1 & 0 & 0 & 0 & 0 \\1 & 1 & 1 & 0 & 0 & 0 & 1 & 1 & 1 & 0 \\1 & 0 & 0 & 1 & 1 & 0 & 1 & 1 & 1 & 0 \\0 & 1 & 0 & 1 & 0 & 1 & 1 & 0 & 1 & 1 \\0 & 0 & 1 & 0 & 1 & 1 & 0 & 1 & 1 & 1\end{bmatrix}} & (7)\end{matrix}$ TABLE 1 Partial parity bit streams (p1p2) Erasure bitstreams (e1e2e3) 00 100 01 111 10 111 11 100

Because Equation (3) and Equation (4) are not satisfied for the partialparity bit streams of 01, 10 and 11, the partial parity bit stream 00 isdetermined as a correct stream and its corresponding erasure bit stream100 is selected. In the codeword structure illustrated in FIG. 6, theoutput codeword is 1011000100.

As described above, the present invention configures a channel encodingapparatus using a channel decoding apparatus, which obviates the needfor an additional memory and pre-processing for the matrix operation andthus simplifies hardware structure. Furthermore, a communication systemrequiring both an encoding apparatus and a decoding apparatus can carryout encoding and decoding by implementing the decoding apparatus only.This leads to the decrease of hardware area and a simplified hardwarestructure.

While the invention has been shown and described with reference tocertain preferred embodiments thereof, it will be understood by thoseskilled in the art that various changes in form and details may be madetherein without departing from the spirit and scope of the invention asdefined by the appended claims.

1. A channel encoding apparatus for generating a coded bit stream of apredetermined length by adding a parity bit stream to a message bitstream to be transmitted, comprising: a partial parity generator forgenerating a partial parity bit stream having a predetermined length anda predetermined value as a part of the parity bit stream, based on themessage bit stream; an erasure generator for generating an erasure bitstream having a random erroneous value, the length of the erasure bitstream being equal to the parity stream length less the partial paritybit stream length; and a decoder for calculating the value of the paritybit stream by correcting the bit stream having the erroneous value usinga parity-check matrix used for determining the parity bit stream, themessage bit stream, and the partial parity bit stream, and outputtingthe message bit stream and the parity bit stream.
 2. The channelencoding apparatus of claim 1, wherein if there are a plurality ofvalues for the partial parity bit stream, the partial parity generatorsequentially outputs the plurality of partial parity bit streams.
 3. Thechannel encoding apparatus of claim 1, wherein if there are a pluralityof values for the partial parity bit stream, the decoder achieves theparity bit stream by selecting a partial parity bit stream value thatsatisfies the parity-check matrix in conjunction with the corrected bitstream from among the plurality of partial bit stream values.
 4. Thechannel encoding apparatus of claim 1, further comprising a first inputportion for receiving the message bit stream and providing the messagebit stream to the partial parity generator and the decoder.
 5. Thechannel encoding apparatus of claim 2, further comprising a first inputportion for receiving the message bit stream and providing the messagebit stream to the partial parity generator and the decoder.
 6. Thechannel encoding apparatus of claim 3, further comprising a first inputportion for receiving the message bit stream and providing the messagebit stream to the partial parity generator and the decoder.
 7. Thechannel encoding apparatus of claim 1, further comprising: a first inputportion for receiving the message bit stream and providing the messagebit stream to the partial parity generator; and a second input portionfor receiving the message bit stream from the first input portion, thepartial parity bit stream from the partial parity generator, and the bitstream having the erroneous value from the erasure generator, andoutputting the message bit stream, the partial parity bit stream, andthe bit stream having the erroneous value to the decoder.
 8. The channelencoding apparatus of claim 2, further comprising: a first input portionfor receiving the message bit stream and providing the message bitstream to the partial parity generator; and a second input portion forreceiving the message bit stream from the first input portion, thepartial parity bit stream from the partial parity generator, and the bitstream having the erroneous value from the erasure generator, andoutputting the message bit stream, the partial parity bit stream, andthe bit stream having the erroneous value to the decoder.
 9. The channelencoding apparatus of claim 3, further comprising: a first input portionfor receiving the message bit stream and providing the message bitstream to the partial parity generator; and a second input portion forreceiving the message bit stream from the first input portion, thepartial parity bit stream from the partial parity generator, and the bitstream having the erroneous value from the erasure generator, andoutputting the message bit stream, the partial parity bit stream, andthe bit stream having the erroneous value to the decoder.
 10. A channelencoding method for generating a coded bit stream of a predeterminedlength by adding a parity bit stream to a message bit stream to betransmitted, comprising the steps of: (a) generating a partial paritybit stream having a predetermined length and a predetermined value as apart of the parity bit stream, based on the message bit stream; (b)generating a bit stream having a random erroneous value as the remainingpart of the parity bit stream less the partial parity bit stream; and(c) calculating the value of the parity bit stream by correcting the bitstream having the erroneous value using a parity-check matrix used fordetermining the parity bit stream, the message bit stream, and thepartial parity bit stream, and outputting the message bit stream and theparity bit stream.
 11. The channel encoding method of claim 10, whereinthe step of (a) comprises the step of, if there are a plurality ofvalues for the partial parity bit stream, sequentially outputting theplurality of partial parity bit streams.
 12. The channel encoding methodof claim 10, wherein the step of (c) comprises the step of, if there area plurality of values for the partial parity bit stream, achieving theparity bit stream by selecting a partial parity bit stream value thatsatisfies the parity-check matrix in conjunction with the corrected bitstream from among the plurality of partial bit stream values.
 13. Achannel encoding apparatus for generating a coded bit stream of apredetermined length by adding a parity bit stream to a message bitstream to be transmitted, comprising: a channel decoding apparatus in acommunication system which receives the coded bit stream, for recoveringthe message bit stream from the coded bit stream through errorcorrection.
 14. The channel encoding apparatus of claim 13, wherein partof the parity bit stream is set to an erroneous value and the channeldecoding apparatus generates the parity bit stream by correcting theerroneous values.
 15. The channel encoding apparatus of claim 14,wherein the channel decoding apparatus corrects a bit stream having theerroneous value using a parity-check matrix used for determining theparity bit stream, the message bit stream, and the remaining parity bitstream of the parity bit stream except the bit stream having theerroneous value.
 16. A channel encoding method for generating a codedbit stream of a predetermined length by adding a parity bit stream to amessage bit stream to be transmitted, comprising the step of: recoveringthe message bit stream from the coded bit stream through errorcorrection using a channel decoding method in a communication systemthat receives the coded bit stream.
 17. The channel encoding method ofclaim 16, further comprising the step of setting part of the parity bitstream to an erroneous value and wherein the coded bit stream generatingstep comprises the step of generating the parity bit stream bycorrecting the erroneous value using the channel decoding method. 18.The channel encoding method of claim 17, wherein the channel decodingmethod corrects a bit stream having the erroneous value using aparity-check matrix used for determining the parity bit stream, themessage bit stream, and the remaining parity bit stream of the paritybit stream less the bit stream having the erroneous value.